package com.common.dto;

import com.common.dto.base.BaseDTO;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "server_capacity")
public class DeskDTO extends BaseDTO {
        /**
         * 服务器名称
         */
        @Column(name = "server_name")
        private String serverName;

        /**
         * 磁盘名称
         */
        @Column(name = "disk_name")
        private String diskName;

        /**
         * 磁盘总容量
         */
        @Column(name = "tital")
        private String total;

        /**
         * 磁盘使用容量
         */
        @Column(name = "used")
        private String used;

        /**
         * 磁盘使用率
         */
        @Column(name = "use_rate")
        private String useRate;

        public String getServerName() {
                return serverName;
        }

        public void setServerName(String serverName) {
                this.serverName = serverName;
        }

        public String getDiskName() {
                return diskName;
        }

        public void setDiskName(String diskName) {
                this.diskName = diskName;
        }

        public String getTotal() {
                return total;
        }

        public void setTotal(String total) {
                this.total = total;
        }

        public String getUsed() {
                return used;
        }

        public void setUsed(String used) {
                this.used = used;
        }

        public String getUseRate() {
                return useRate;
        }

        public void setUseRate(String useRate) {
                this.useRate = useRate;
        }

        @Override
        public String toString() {
                return "DeskDTO{" +
                        "serverName='" + serverName + '\'' +
                        ", diskName='" + diskName + '\'' +
                        ", total='" + total + '\'' +
                        ", used='" + used + '\'' +
                        ", useRate='" + useRate + '\'' +
                        '}';
        }
}
